﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelLayer
{
    class Dealer
    {
        public int DealerId { get; set; }
        public string UserName { get; set; }
        public string CompanyName { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Address { get; set; }
        public int PhoneNumber { get; set; }
        public string Email { get; set; }

        public Dealer()
        {

        }

        public Dealer(string userName, string companyName, string firstName, string lastName, string address, int phoneNumber, string email)
        {
            this.UserName = userName;
            this.CompanyName = companyName;
            this.FirstName = firstName;
            this.LastName = lastName;
            this.Address = address;
            this.PhoneNumber = phoneNumber;
            this.Email = email;
        }
    }
}
